package cn.lumora.mapper;

import cn.lumora.pojo.CharacterBaseInfo;
import cn.lumora.vo.CharacterBaseInfoVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 刘智超
 * 角色基础信息mapper
 */
public interface CharacterBaseInfoMapper extends BaseMapper<CharacterBaseInfo> {

    /**
     * 根据角色id获取角色信息
     * @param characterId 角色id
     * @return 角色信息
     */
    CharacterBaseInfoVo getCharacterBaseInfo(@Param("characterId") String characterId);
}
